<% form_for :dates do |form| %>

  <fieldset>
  <legend>Enter Rental Dates</legend> 

  <%= error_messages_for 'rental' %>

  <%= render :partial => "rental_fields", :locals => {:form => form} %>
  
  <div class="form_row">  
    <%= submit_tag "Checkout", :class => "submit" %> 
  </div>
   
  </fieldset> 
  
<% end %>

